<!DOCTYPE html>
<html lang="en" dir="ltr">
    <head><meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'><meta name='description' content="# 前提 # 从SSL证书控制台下载 Apache 服务器证书 阿里云数字证书管理服务文档 # 安装 Open SSL # 步骤 # 在 apache2 目录下创建 ssl 目录 1 2 $ cd /etc/apache2 $ mkdir ssl # 将证书文件复制到 ssl 目录中 1 2 3 4 5 root@xai:/etc/apache2/ssl# tree . ├── demo.cn_chain.crt ├── demo.cn.key └── demo.cn_public.crt # 启用 SSL 模块 1 $ a2enmod ssl SSL模块启用后，可执行 ls /etc/apache2/sites-available，查看目录下生成的 default-ssl.conf 文件。 443端口是网络浏览端口，主要用于HTTPS服务。SSL模块启用后会自动放行443端口。若443端口未自动放行，可执行 vi /etc/apache2/ports.conf 并添加 Listen 443 手动放行。 # 修改 SSL 配置文件 default-ssl.">
<title>Ubuntu Apache2 SSL</title>

<link rel='canonical' href='http://laoxia.cc/p/ubuntu-apache2-ssl/'>

<link rel="stylesheet" href="/scss/style.min.8e60baf4cd3fc55968717a6e39762f4d28ed7ef6007566b6c7970ad0fe907198.css"><meta property='og:title' content="Ubuntu Apache2 SSL">
<meta property='og:description' content="# 前提 # 从SSL证书控制台下载 Apache 服务器证书 阿里云数字证书管理服务文档 # 安装 Open SSL # 步骤 # 在 apache2 目录下创建 ssl 目录 1 2 $ cd /etc/apache2 $ mkdir ssl # 将证书文件复制到 ssl 目录中 1 2 3 4 5 root@xai:/etc/apache2/ssl# tree . ├── demo.cn_chain.crt ├── demo.cn.key └── demo.cn_public.crt # 启用 SSL 模块 1 $ a2enmod ssl SSL模块启用后，可执行 ls /etc/apache2/sites-available，查看目录下生成的 default-ssl.conf 文件。 443端口是网络浏览端口，主要用于HTTPS服务。SSL模块启用后会自动放行443端口。若443端口未自动放行，可执行 vi /etc/apache2/ports.conf 并添加 Listen 443 手动放行。 # 修改 SSL 配置文件 default-ssl.">
<meta property='og:url' content='http://laoxia.cc/p/ubuntu-apache2-ssl/'>
<meta property='og:site_name' content='大国重器'>
<meta property='og:type' content='article'><meta property='article:section' content='Post' /><meta property='article:published_time' content='2018-11-11T09:09:01&#43;00:00'/><meta property='article:modified_time' content='2018-11-11T09:09:01&#43;00:00'/>
<meta name="twitter:title" content="Ubuntu Apache2 SSL">
<meta name="twitter:description" content="# 前提 # 从SSL证书控制台下载 Apache 服务器证书 阿里云数字证书管理服务文档 # 安装 Open SSL # 步骤 # 在 apache2 目录下创建 ssl 目录 1 2 $ cd /etc/apache2 $ mkdir ssl # 将证书文件复制到 ssl 目录中 1 2 3 4 5 root@xai:/etc/apache2/ssl# tree . ├── demo.cn_chain.crt ├── demo.cn.key └── demo.cn_public.crt # 启用 SSL 模块 1 $ a2enmod ssl SSL模块启用后，可执行 ls /etc/apache2/sites-available，查看目录下生成的 default-ssl.conf 文件。 443端口是网络浏览端口，主要用于HTTPS服务。SSL模块启用后会自动放行443端口。若443端口未自动放行，可执行 vi /etc/apache2/ports.conf 并添加 Listen 443 手动放行。 # 修改 SSL 配置文件 default-ssl.">
    <link rel="shortcut icon" href="/favicon.png" />

    </head>
    <body class="
    article-page
    ">
    <script>
        (function() {
            const colorSchemeKey = 'StackColorScheme';
            if(!localStorage.getItem(colorSchemeKey)){
                localStorage.setItem(colorSchemeKey, "auto");
            }
        })();
    </script><script>
    (function() {
        const colorSchemeKey = 'StackColorScheme';
        const colorSchemeItem = localStorage.getItem(colorSchemeKey);
        const supportDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches === true;

        if (colorSchemeItem == 'dark' || colorSchemeItem === 'auto' && supportDarkMode) {
            

            document.documentElement.dataset.scheme = 'dark';
        } else {
            document.documentElement.dataset.scheme = 'light';
        }
    })();
</script>
<div class="container main-container flex on-phone--column extended"><aside class="sidebar left-sidebar sticky ">
    <button class="hamburger hamburger--spin" type="button" id="toggle-menu" aria-label="Toggle Menu">
        <span class="hamburger-box">
            <span class="hamburger-inner"></span>
        </span>
    </button>

    <header>
        
            
            <figure class="site-avatar">
                <a href="/">
                
                    
                    
                    
                        
                        <img src="/img/avatar_hue06bcb413e5a9cdb6ce4bf9a5a6157c6_4250212_300x0_resize_box_3.png" width="300"
                            height="188" class="site-logo" loading="lazy" alt="Avatar">
                    
                
                </a>
                
                    <span class="emoji">🍥</span>
                
            </figure>
            
        
        
        <div class="site-meta">
            <h1 class="site-name"><a href="/">大国重器</a></h1>
            <h2 class="site-description">The pillars of a great power. Support the backbone of a great power with code.</h2>
        </div>
    </header><ol class="menu" id="main-menu">
        
        
        
        <li >
            <a href='/' >
                
                
                
                    <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-home" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <polyline points="5 12 3 12 12 3 21 12 19 12" />
  <path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" />
  <path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" />
</svg>



                
                <span>Home</span>
            </a>
        </li>
        
        
        <li >
            <a href='/archives/' >
                
                
                
                    <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-archive" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <rect x="3" y="4" width="18" height="4" rx="2" />
  <path d="M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10" />
  <line x1="10" y1="12" x2="14" y2="12" />
</svg>



                
                <span>Archives</span>
            </a>
        </li>
        
        
        <li >
            <a href='/search/' >
                
                
                
                    <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-search" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <circle cx="10" cy="10" r="7" />
  <line x1="21" y1="21" x2="15" y2="15" />
</svg>



                
                <span>Search</span>
            </a>
        </li>
        
        
        <li >
            <a href='/links/' >
                
                
                
                    <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" />
  <path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" />
</svg>



                
                <span>Links</span>
            </a>
        </li>
        
        
        <li >
            <a href='/about/' >
                
                
                
                    <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-user" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <circle cx="12" cy="7" r="4" />
  <path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
</svg>



                
                <span>About</span>
            </a>
        </li>
        
        <li class="menu-bottom-section">
            <ol class="menu">

                
                    <li id="dark-mode-toggle">
                        <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-toggle-left" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <circle cx="8" cy="12" r="2" />
  <rect x="2" y="6" width="20" height="12" rx="6" />
</svg>



                        <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-toggle-right" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <circle cx="16" cy="12" r="2" />
  <rect x="2" y="6" width="20" height="12" rx="6" />
</svg>



                        <span>Dark Mode</span>
                    </li>
                
            </ol>
        </li>
    </ol>
</aside>

    <aside class="sidebar right-sidebar sticky">
        
            
                
    <section class="widget archives">
        <div class="widget-icon">
            <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-hash" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <line x1="5" y1="9" x2="19" y2="9" />
  <line x1="5" y1="15" x2="19" y2="15" />
  <line x1="11" y1="4" x2="7" y2="20" />
  <line x1="17" y1="4" x2="13" y2="20" />
</svg>



        </div>
        <h2 class="widget-title section-title">Table of contents</h2>
        
        <div class="widget--toc">
            <nav id="TableOfContents">
  <ol>
    <li><a href="#前提">前提</a>
      <ol>
        <li><a href="#从ssl证书控制台httpsyundunnextconsolealiyuncom下载-apache-服务器证书">从<a href="https://yundunnext.console.aliyun.com">SSL证书控制台</a>下载 Apache 服务器证书</a></li>
        <li><a href="#安装-open-ssl">安装 Open SSL</a></li>
      </ol>
    </li>
    <li><a href="#步骤">步骤</a>
      <ol>
        <li><a href="#在-apache2-目录下创建-ssl-目录">在 apache2 目录下创建 ssl 目录</a></li>
        <li><a href="#将证书文件复制到-ssl-目录中">将证书文件复制到 ssl 目录中</a></li>
        <li><a href="#启用-ssl-模块">启用 SSL 模块</a></li>
        <li><a href="#修改-ssl-配置文件-default-sslconf">修改 SSL 配置文件 default-ssl.conf</a></li>
        <li><a href="#把-default-sslconf-映射至-etcapache2sites-enabled-文件夹中建立软链接实现两者之间的自动关联">把 default-ssl.conf 映射至 <code>/etc/apache2/sites-enabled</code> 文件夹中建立软链接，实现两者之间的自动关联</a></li>
        <li><a href="#重新加载-apache2-配置文件">重新加载 apache2 配置文件</a></li>
        <li><a href="#重启-apache2-服务">重启 apache2 服务</a></li>
        <li><a href="#在浏览器输入-httpsdemocn-验证证书安装结果">在浏览器输入 <code>https://demo.cn</code> 验证证书安装结果</a></li>
      </ol>
    </li>
  </ol>
</nav>
        </div>
    </section>

            
        
    </aside>


            <main class="main full-width">
    <article class="main-article">
    <header class="article-header">

    <div class="article-details">
    
    <header class="article-category">
        
            <a href="/categories/apache2/" >
                Apache2
            </a>
        
            <a href="/categories/ssl/" >
                SSL
            </a>
        
    </header>
    

    <div class="article-title-wrapper">
        <h2 class="article-title">
            <a href="/p/ubuntu-apache2-ssl/">Ubuntu Apache2 SSL</a>
        </h2>
    
        
    </div>

    
    
    
    
    <footer class="article-time">
        
            <div>
                <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-calendar-time" width="56" height="56" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <path d="M11.795 21h-6.795a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v4" />
  <circle cx="18" cy="18" r="4" />
  <path d="M15 3v4" />
  <path d="M7 3v4" />
  <path d="M3 11h16" />
  <path d="M18 16.496v1.504l1 1" />
</svg>
                <time class="article-time--published">Nov 11, 2018</time>
            </div>
        

        
            <div>
                <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-clock" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <circle cx="12" cy="12" r="9" />
  <polyline points="12 7 12 12 15 15" />
</svg>



                <time class="article-time--reading">
                    1 minute read
                </time>
            </div>
        
    </footer>
    

    
</div>

</header>

    <section class="article-content">
    
    
    <h2 id="前提">
    <a href="#%e5%89%8d%e6%8f%90">#</a>
    前提
</h2><h3 id="从ssl证书控制台httpsyundunnextconsolealiyuncom下载-apache-服务器证书">
    <a href="#%e4%bb%8essl%e8%af%81%e4%b9%a6%e6%8e%a7%e5%88%b6%e5%8f%b0httpsyundunnextconsolealiyuncom%e4%b8%8b%e8%bd%bd-apache-%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%af%81%e4%b9%a6">#</a>
    从<a class="link" href="https://yundunnext.console.aliyun.com"  target="_blank" rel="noopener"
    >SSL证书控制台</a>下载 Apache 服务器证书
</h3><p><a class="link" href="https://help.aliyun.com/product/28533.html"  target="_blank" rel="noopener"
    >阿里云数字证书管理服务文档</a></p>
<h3 id="安装-open-ssl">
    <a href="#%e5%ae%89%e8%a3%85-open-ssl">#</a>
    安装 Open SSL
</h3><h2 id="步骤">
    <a href="#%e6%ad%a5%e9%aa%a4">#</a>
    步骤
</h2><h3 id="在-apache2-目录下创建-ssl-目录">
    <a href="#%e5%9c%a8-apache2-%e7%9b%ae%e5%bd%95%e4%b8%8b%e5%88%9b%e5%bb%ba-ssl-%e7%9b%ae%e5%bd%95">#</a>
    在 apache2 目录下创建 ssl 目录
</h3><div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">$ <span class="nb">cd</span> /etc/apache2
</span></span><span class="line"><span class="cl">$ mkdir ssl
</span></span></code></pre></td></tr></table>
</div>
</div><h3 id="将证书文件复制到-ssl-目录中">
    <a href="#%e5%b0%86%e8%af%81%e4%b9%a6%e6%96%87%e4%bb%b6%e5%a4%8d%e5%88%b6%e5%88%b0-ssl-%e7%9b%ae%e5%bd%95%e4%b8%ad">#</a>
    将证书文件复制到 ssl 目录中
</h3><div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">root@xai:/etc/apache2/ssl# tree
</span></span><span class="line"><span class="cl">.
</span></span><span class="line"><span class="cl">├── demo.cn_chain.crt
</span></span><span class="line"><span class="cl">├── demo.cn.key
</span></span><span class="line"><span class="cl">└── demo.cn_public.crt
</span></span></code></pre></td></tr></table>
</div>
</div><h3 id="启用-ssl-模块">
    <a href="#%e5%90%af%e7%94%a8-ssl-%e6%a8%a1%e5%9d%97">#</a>
    启用 SSL 模块
</h3><div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">$ a2enmod ssl
</span></span></code></pre></td></tr></table>
</div>
</div><p>SSL模块启用后，可执行 <code>ls /etc/apache2/sites-available</code>，查看目录下生成的 default-ssl.conf 文件。</p>
<p>443端口是网络浏览端口，主要用于HTTPS服务。SSL模块启用后会自动放行443端口。若443端口未自动放行，可执行
<code>vi /etc/apache2/ports.conf</code> 并添加 Listen 443 手动放行。</p>
<h3 id="修改-ssl-配置文件-default-sslconf">
    <a href="#%e4%bf%ae%e6%94%b9-ssl-%e9%85%8d%e7%bd%ae%e6%96%87%e4%bb%b6-default-sslconf">#</a>
    修改 SSL 配置文件 default-ssl.conf
</h3><div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">$ vi /etc/apache2/sites-available/default-ssl.conf
</span></span></code></pre></td></tr></table>
</div>
</div><p>在 default-ssl.conf 文件中找到以下参数，修改后保存并退出。</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">&lt;IfModules mod_ssl.c&gt;
</span></span><span class="line"><span class="cl">&lt;VirtualHost *:443&gt;
</span></span><span class="line"><span class="cl">#修改为证书绑定的域名。
</span></span><span class="line"><span class="cl">ServerName
</span></span><span class="line"><span class="cl">#将/etc/apache2/ssl/demo.cn_public.crt替换为证书文件路径+证书文件名。
</span></span><span class="line"><span class="cl">SSLCertificateFile /etc/apache2/ssl/demo.cn_public.crt
</span></span><span class="line"><span class="cl">#将/etc/apache2/ssl/demo.cn.key替换为证书密钥文件路径+证书密钥文件名。
</span></span><span class="line"><span class="cl">SSLCertificateKeyFile /etc/ssl/apache2/demo.cn.key
</span></span><span class="line"><span class="cl">#将/etc/apache2/ssl/demo.cn_chain.crt替换为证书链文件路径+证书链文件名。
</span></span><span class="line"><span class="cl">SSLCertificateChainFile /etc/apache2/ssl/demo.cn_chain.crt
</span></span></code></pre></td></tr></table>
</div>
</div><h3 id="把-default-sslconf-映射至-etcapache2sites-enabled-文件夹中建立软链接实现两者之间的自动关联">
    <a href="#%e6%8a%8a-default-sslconf-%e6%98%a0%e5%b0%84%e8%87%b3-etcapache2sites-enabled-%e6%96%87%e4%bb%b6%e5%a4%b9%e4%b8%ad%e5%bb%ba%e7%ab%8b%e8%bd%af%e9%93%be%e6%8e%a5%e5%ae%9e%e7%8e%b0%e4%b8%a4%e8%80%85%e4%b9%8b%e9%97%b4%e7%9a%84%e8%87%aa%e5%8a%a8%e5%85%b3%e8%81%94">#</a>
    把 default-ssl.conf 映射至 <code>/etc/apache2/sites-enabled</code> 文件夹中建立软链接，实现两者之间的自动关联
</h3><div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">$ ln -s /etc/apache2/sites-available/default-ssl.conf /etc/apache2/sites-enabled/001-ssl.conf
</span></span></code></pre></td></tr></table>
</div>
</div><h3 id="重新加载-apache2-配置文件">
    <a href="#%e9%87%8d%e6%96%b0%e5%8a%a0%e8%bd%bd-apache2-%e9%85%8d%e7%bd%ae%e6%96%87%e4%bb%b6">#</a>
    重新加载 apache2 配置文件
</h3><div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">$ /etc/init.d/apache2 force-reload
</span></span></code></pre></td></tr></table>
</div>
</div><h3 id="重启-apache2-服务">
    <a href="#%e9%87%8d%e5%90%af-apache2-%e6%9c%8d%e5%8a%a1">#</a>
    重启 apache2 服务
</h3><div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">$ /etc/init.d/apache2 restart
</span></span></code></pre></td></tr></table>
</div>
</div><h3 id="在浏览器输入-httpsdemocn-验证证书安装结果">
    <a href="#%e5%9c%a8%e6%b5%8f%e8%a7%88%e5%99%a8%e8%be%93%e5%85%a5-httpsdemocn-%e9%aa%8c%e8%af%81%e8%af%81%e4%b9%a6%e5%ae%89%e8%a3%85%e7%bb%93%e6%9e%9c">#</a>
    在浏览器输入 <code>https://demo.cn</code> 验证证书安装结果
</h3>
</section>


    <footer class="article-footer">
    

    
    <section class="article-copyright">
        <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-copyright" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z"/>
  <circle cx="12" cy="12" r="9" />
  <path d="M14.5 9a3.5 4 0 1 0 0 6" />
</svg>



        <span>Personal learning records. Please do not reprint.</span>
    </section>
    </footer>


    
</article>

    

    

     
    

    <footer class="site-footer">
    <section class="copyright">
        &copy; 
        
            2017 - 
        
        2024 大国重器
    </section>
    
    <section class="powerby">
        
            Personal learning records. <br/>
        Built with <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a> <br />
        Theme <b><a href="https://github.com/CaiJimmy/hugo-theme-stack" target="_blank" rel="noopener" data-version="3.25.0">Stack</a></b> designed by <a href="https://jimmycai.com" target="_blank" rel="noopener">Jimmy</a>
    </section>
</footer>


    
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">

    
    <div class="pswp__bg"></div>

    
    <div class="pswp__scroll-wrap">

        
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>

        
        <div class="pswp__ui pswp__ui--hidden">

            <div class="pswp__top-bar">

                

                <div class="pswp__counter"></div>

                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>

                <button class="pswp__button pswp__button--share" title="Share"></button>

                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>

                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>

                
                
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                        <div class="pswp__preloader__cut">
                            <div class="pswp__preloader__donut"></div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div>
            </div>

            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>

            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>

            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>

        </div>

    </div>

</div><script 
                src="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.js"integrity="sha256-ePwmChbbvXbsO02lbM3HoHbSHTHFAeChekF1xKJdleo="crossorigin="anonymous"
                defer
                >
            </script><script 
                src="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe-ui-default.min.js"integrity="sha256-UKkzOn/w1mBxRmLLGrSeyB4e1xbrp4xylgAWb3M42pU="crossorigin="anonymous"
                defer
                >
            </script><link 
                rel="stylesheet" 
                href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.min.css"crossorigin="anonymous"
            ><link 
                rel="stylesheet" 
                href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.min.css"crossorigin="anonymous"
            >

            </main>
        </div>
        <script 
                src="https://cdn.jsdelivr.net/npm/node-vibrant@3.1.6/dist/vibrant.min.js"integrity="sha256-awcR2jno4kI5X0zL8ex0vi2z&#43;KMkF24hUW8WePSA9HM="crossorigin="anonymous"
                
                >
            </script><script type="text/javascript" src="/ts/main.js" defer></script>
<script>
    (function () {
        const customFont = document.createElement('link');
        customFont.href = "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap";

        customFont.type = "text/css";
        customFont.rel = "stylesheet";

        document.head.appendChild(customFont);
    }());
</script>

    </body>
</html>
